package com.weiyi.chat.api;

import com.weiyi.chat.domain.BusInfo;

/**
 * Created by Administrator on 2016/12/5.
 */

public interface IBusInfo
{
    public interface Views
    {
        /**
         * 重置密码成功
         */
        void onSucess(BusInfo.BodyBean.DataBean userBean);

        void showError(String msg);
    }

    public interface presenter
    {
        /**
         * 请求用户信息
         * @param id 访问的用户ID
         * @param uid 自己的用户ID
         */
        void requsetBusInfo(String id, String uid);

        void loadingDatasFromCache();//缓存获取数据
    }

}
